const path = require('path');

const history = require('connect-history-api-fallback');

const express = require('express');

const app = express();

app.use(history());

app.use(express.static(path.join(__dirname, '../vue-router/dist')));

app.listen(3333, () => {
  console.log('服务器开启');
});
